package com.wl.es7.study;

import com.wl.es7.study.config.CustomElasticSearchConfig;
import com.wl.es7.study.entity.Car;
import com.wl.es7.study.mapper.CarMapper;
import org.elasticsearch.client.RestHighLevelClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

import java.util.List;

@SpringBootApplication
@MapperScan(basePackages = "com.wl.es7.study.mapper")
@EnableElasticsearchRepositories(basePackages = "com.wl.es7.study.repository")
public class Es7Application {

    public static void main(String[] args) {

        ConfigurableApplicationContext run = SpringApplication.run(Es7Application.class, args);

    }
}
